home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18237 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: newsbf02.news.aol.com!not-for-mail
  2. From: warner000@aol.com (Warner000)
  3. Newsgroups: comp.lang.smalltalk,comp.lang.java,comp.lang.c++
  4. Subject: Re: Smalltalk slower than C++
  5. Date: 19 Apr 1996 11:51:41 -0400
  6. Organization: America Online, Inc. (1-800-827-6364)
  7. Sender: root@newsbf02.news.aol.com
  8. Message-ID: <4l8cqd$3eh@newsbf02.news.aol.com>
  9. References: <3177048B.2CBD@alumni.caltech.edu>
  10. Reply-To: warner000@aol.com (Warner000)
  11. NNTP-Posting-Host: newsbf02.mail.aol.com
  12.  
  13. > > It is considered "common knowledge" that smalltalk is slower than C++.
  14. > > Are there any published articles on this subject?
  15. > > How much slower is slower, twice as slow, 5 times, 10 times... ?
  16. > > Appreciate any pointers on this subject.
  17. > >
  18. > I can say it is an over statement that smalltalk is slower than
  19. > C/C++. I have implementation that is a few times faster than
  20. > C. I can also illustrate that the smalltalk environment can be
  21. > ten and even 100 times faster than smalltalk.
  22.  
  23. >Here's a simple sample task:
  24. >Open a scrolling list interface on integers from one to ten million.
  25. >
  26. >Smalltalk results:
  27. >
  28. > Coding time: 20 sec. (Yes I actually timed it).
  29. > Execution time: 64 millisecons (Sun Ultra-1, VW2.5)
  30. > Source code:
  31. >
  32.  >SequenceView openOn: (1 to: 10000000).
  33. >
  34. >I look forward to hearing *any* results from the Java/C++ world.
  35. >
  36. >-- Mike Klein
  37. >mklein@alumni.caltech.edu
  38.  
  39. Mike,
  40.  
  41. Exactly so...
  42.  
  43. There is slow in running and then there is slow in development.  Maybe
  44. a C or C++ app runs a few milliseconds faster than a Smalltalk app but 
  45. then compare the times for development and see how many times the
  46. C/C++ app has to run to make up for the time spent developing it vs.
  47. the Smalltalk app.
  48.  
  49. Ken Warner
  50.